Directorist\Review\Comment B

Total Complexity 79
Dependencies 5
Dependents 5
Total lines 450
Lines of code 271
Logical lines of code 138
Comment lines 111
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
validate_data()
B
41 21 48
set_comment_status()
A
55 12 18
wp_count_comments()
A
44 9 47
preprocess_comment_data()
A
56 9 15
post_rating()
S
53 6 20
on_comment_post()
S
65 4 8
get_review_counts_for_listing_ids()
S
53 2 25
get_average_rating_for_listing()
S
54 2 23
get_rating_counts_for_listing()
S
55 2 22
is_default_comment_type()
S
78 2 3
comments_open()
S
70 2 6
clear_transients()
S
73 2 5
init()
S
60 1 12
get_review_count_for_listing()
S
75 1 4
maybe_clear_transients()
S
70 1 6
set_avater_comment_types()
S
79 1 3
delete_comments_count_cache()
S
80 1 3
get_rating()
S
78 1 3